package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
/**
    * 导游信息表，记录导游身份信息
    */
@ApiModel(value="com-example-springbootdemo-scene-entity-GuideCertify")
@Data
@TableName(value = "guide_certify")
public class GuideCertify {
    /**
     * 导游id，对应会员表id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="导游id，对应会员表id")
    private Long id;

    /**
     * 第三方平台openid
     */
    @TableField(value = "openid")
    @ApiModelProperty(value="第三方平台openid")
    private String openid;

    /**
     * 昵称
     */
    @TableField(value = "nickname")
    @ApiModelProperty(value="昵称")
    private String nickname;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    @ApiModelProperty(value="头像")
    private String avatar;

    /**
     * 真实姓名
     */
    @TableField(value = "realname")
    @ApiModelProperty(value="真实姓名")
    private String realname;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    @ApiModelProperty(value="手机号")
    private String phone;

    /**
     * 身份证号
     */
    @TableField(value = "ic_number")
    @ApiModelProperty(value="身份证号")
    private String icNumber;

    /**
     * 身份证正面图片
     */
    @TableField(value = "ic_front")
    @ApiModelProperty(value="身份证正面图片")
    private String icFront;

    /**
     * 身份证背面图片
     */
    @TableField(value = "ic_back")
    @ApiModelProperty(value="身份证背面图片")
    private String icBack;

    /**
     * 导游证编号
     */
    @TableField(value = "tc_number")
    @ApiModelProperty(value="导游证编号")
    private String tcNumber;

    /**
     * 导游证背面图片
     */
    @TableField(value = "tc_front")
    @ApiModelProperty(value="导游证背面图片")
    private String tcFront;

    /**
     * 身份证背面图片
     */
    @TableField(value = "tc_back")
    @ApiModelProperty(value="身份证背面图片")
    private String tcBack;

    /**
     * 状态,
0  待认证
1  认证成功
2 认证失败

     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态,,0  待认证,1  认证成功,2 认证失败,")
    private Byte status;

    /**
     * 是否删除，1删除，0正常
     */
    @TableField(value = "is_deleted")
    @ApiModelProperty(value="是否删除，1删除，0正常")
    private Byte isDeleted;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    public static final String COL_ID = "id";

    public static final String COL_OPENID = "openid";

    public static final String COL_NICKNAME = "nickname";

    public static final String COL_AVATAR = "avatar";

    public static final String COL_REALNAME = "realname";

    public static final String COL_PHONE = "phone";

    public static final String COL_IC_NUMBER = "ic_number";

    public static final String COL_IC_FRONT = "ic_front";

    public static final String COL_IC_BACK = "ic_back";

    public static final String COL_TC_NUMBER = "tc_number";

    public static final String COL_TC_FRONT = "tc_front";

    public static final String COL_TC_BACK = "tc_back";

    public static final String COL_STATUS = "status";

    public static final String COL_IS_DELETED = "is_deleted";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}